package main

import (
	"monserver/core"
	"monserver/global"
	"monserver/initialize"
)

func main(){
	global.GVA_VP = core.Viper()
	global.GVA_LOG = core.Zap()
	global.GVA_DB = initialize.Gorm()
	initialize.MysqlTables(global.GVA_DB)
	db, _ := global.GVA_DB.DB()
	defer db.Close()
	core.RunWindowsServer()
}
